package com.warren.system.entity;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author warren
 * @date 2021/3/23 0023 14:59
 * @Description 需要将这个类注入
 **/
@ConfigurationProperties(prefix = "alioss")
@Data
@Component
public class OssEntity {

    private String endpoint;

    private String accesskeyId;

    private String accessKeySecret;

    private String bucketName;
}
